package com.hxrfid.project.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hxrfid.common.annotation.ExcelDictFormat;
import com.hxrfid.common.convert.ExcelDictConvert;
import lombok.Data;

import java.util.Date;



/**
 * 分销员视图对象 bs_distributor
 *
 * @author hxrfid
 * @date 2025-07-30
 */
@Data
@ExcelIgnoreUnannotated
public class BsDistributorVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 用户昵称
     */
    @ExcelProperty(value = "用户昵称")
    private String nickName;

    /**
     * 头像地址
     */
    @ExcelProperty(value = "头像地址")
    private String avatar;

    /**
     * 城市id
     */
    @ExcelProperty(value = "城市id")
    private Long areaId;

    /**
     * 区域
     */
    @ExcelProperty(value = "区域")
    private String area;

    /**
     * 城市
     */
    @ExcelProperty(value = "城市", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private String areaAddr;

    /**
     * 注册时间
     */
    @ExcelProperty(value = "注册时间")
    private Date registerTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 租户编码
     */
    @ExcelProperty(value = "租户编码")
    private Long tenantId;

    /**
     * 子用户数量
     */
    private Integer childCount;

    /**
     * 订单数量
     */
    private Long orderCount;

    /**
     * 小程序二维码
     */
    private String wxCode;
}
